// ignore: file_names
// ignore: file_names
// ignore: file_names
// ignore: file_names

import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter_widget/custom/custom_appbar.dart';

// ignore: must_be_immutable
class ProgressBarPage extends StatelessWidget {
  String name;
  ProgressBarPage({Key? key, required this.name}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: CustomAppbar(name, Theme.of(context).primaryColor),
      body: Center(
        child: Column(
          children: const [
            LinearProgressIndicator(
              value: .3,
              valueColor: AlwaysStoppedAnimation(Colors.yellow),
            ),
            SizedBox(
              height: 20,
            ),
            SizedBox(
              width: 100,
              height: 100,
              child: CircularProgressIndicator(
                valueColor: AlwaysStoppedAnimation(Colors.red),
              ),
            ),
            SizedBox(
              height: 20,
            ),
            CupertinoActivityIndicator()
          ],
        ),
      ),
    );
  }
}
